﻿using System;
using System.Web.Mvc;
using Sharp.Portal.Interface;

namespace Sharp.Portal.Mvc.List
{
    public abstract class SharpTreeList : SharpList, ISharpTreeList
    {
        public SharpTreeList() : base()
        {
            CanDragDrop = true;
            this.StoreUrlAction = "GetTreeData";
            this.DropHanale = "App.Grid.dropItem";
            this.DropUrlAction = "MoveOrSort";
        }
        public bool CanDragDrop
        {
            get;
            set;
        }

        public string Drop
        {
            get;
            set;
        }

        public string DropHanale
        {
            get;
            set;
        }
        public string DropUrlAction { get; set; }
        /// <summary>
        /// 隐藏表头
        /// </summary>
        public bool HideHeaders { set; get; }

       
    }
}
